import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'/* 引入store */
Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  store/* 定义store */
})
// 在main.js中需要引入和定义store
